package com.kqb.sgcommon.satoken;

import cn.dev33.satoken.stp.StpInterface;
import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.context.annotation.Bean;

/**
 * @author 杉果树皮
 */
@AutoConfiguration
public class SaTokenAutoConfiguration {

    @Bean
    public StpKit stpKit() {
        return new StpKit();
    }

    @Bean
    public StpInterface stpInterface() {
        return new StpInterfaceImpl();
    }
}
